package com.dt76.smallloanbackenduser.hystrix.lhuaw;

import com.dt76.smallloanbackenduser.pojo.lhuaw.UserFeedback;
import com.dt76.smallloanbackenduser.remote.lhuaw.UserFeedbacktest;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class userFeedbackHystrix implements UserFeedbacktest {
    @Override
    public List<UserFeedback> qryAllFeedback() {
        return new ArrayList<>();
    }

    @Override
    public Page qryConditionPageAllFeedback(int pageIndex, String userName, String feedbackQuestion) {
        return new Page();
    }

    @Override
    public Result deleteFeedback(int ufId) {
        return new Result();
    }
}
